* {
  padding: 0;
  margin: 0;
}

#app {
  width: 100%;
  height: 100%;
}

#wrapper {
  width: 100%;
  height: 800px;
  display: flex;
}

#bar {
  padding: 4px;
}

#bar button {
  outline: none;
  margin-right: 8px;
  padding: 2px 6px;
}

#bar button:hover {
  background-color: aquamarine;
}

#code {
  flex: 1;
  flex-direction: column;
  display: flex;
}

#template {
  flex: 1;
}

#result {
  flex: 1;
}

#mode {
  flex: none;
  width: 300px;
}

.view {
  border: 1px solid #ccc;
}

.CodeMirror.cm-s-default {
  width: 100%;
  height: 100%;
}
